package com.literaryfamily.literaryfamily.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BookBorrowOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BookBorrowOrderExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdIsNull() {
            addCriterion("borrow_order_id is null");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdIsNotNull() {
            addCriterion("borrow_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdEqualTo(String value) {
            addCriterion("borrow_order_id =", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdNotEqualTo(String value) {
            addCriterion("borrow_order_id <>", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdGreaterThan(String value) {
            addCriterion("borrow_order_id >", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("borrow_order_id >=", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdLessThan(String value) {
            addCriterion("borrow_order_id <", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdLessThanOrEqualTo(String value) {
            addCriterion("borrow_order_id <=", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdLike(String value) {
            addCriterion("borrow_order_id like", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdNotLike(String value) {
            addCriterion("borrow_order_id not like", value, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdIn(List<String> values) {
            addCriterion("borrow_order_id in", values, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdNotIn(List<String> values) {
            addCriterion("borrow_order_id not in", values, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdBetween(String value1, String value2) {
            addCriterion("borrow_order_id between", value1, value2, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andBorrowOrderIdNotBetween(String value1, String value2) {
            addCriterion("borrow_order_id not between", value1, value2, "borrowOrderId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdIsNull() {
            addCriterion("online_id is null");
            return (Criteria) this;
        }

        public Criteria andOnlineIdIsNotNull() {
            addCriterion("online_id is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineIdEqualTo(String value) {
            addCriterion("online_id =", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotEqualTo(String value) {
            addCriterion("online_id <>", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdGreaterThan(String value) {
            addCriterion("online_id >", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdGreaterThanOrEqualTo(String value) {
            addCriterion("online_id >=", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdLessThan(String value) {
            addCriterion("online_id <", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdLessThanOrEqualTo(String value) {
            addCriterion("online_id <=", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdLike(String value) {
            addCriterion("online_id like", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotLike(String value) {
            addCriterion("online_id not like", value, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdIn(List<String> values) {
            addCriterion("online_id in", values, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotIn(List<String> values) {
            addCriterion("online_id not in", values, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdBetween(String value1, String value2) {
            addCriterion("online_id between", value1, value2, "onlineId");
            return (Criteria) this;
        }

        public Criteria andOnlineIdNotBetween(String value1, String value2) {
            addCriterion("online_id not between", value1, value2, "onlineId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeIsNull() {
            addCriterion("borrow_time is null");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeIsNotNull() {
            addCriterion("borrow_time is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeEqualTo(Date value) {
            addCriterion("borrow_time =", value, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeNotEqualTo(Date value) {
            addCriterion("borrow_time <>", value, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeGreaterThan(Date value) {
            addCriterion("borrow_time >", value, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("borrow_time >=", value, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeLessThan(Date value) {
            addCriterion("borrow_time <", value, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeLessThanOrEqualTo(Date value) {
            addCriterion("borrow_time <=", value, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeIn(List<Date> values) {
            addCriterion("borrow_time in", values, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeNotIn(List<Date> values) {
            addCriterion("borrow_time not in", values, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeBetween(Date value1, Date value2) {
            addCriterion("borrow_time between", value1, value2, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andBorrowTimeNotBetween(Date value1, Date value2) {
            addCriterion("borrow_time not between", value1, value2, "borrowTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeIsNull() {
            addCriterion("return_time is null");
            return (Criteria) this;
        }

        public Criteria andReturnTimeIsNotNull() {
            addCriterion("return_time is not null");
            return (Criteria) this;
        }

        public Criteria andReturnTimeEqualTo(Date value) {
            addCriterion("return_time =", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeNotEqualTo(Date value) {
            addCriterion("return_time <>", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeGreaterThan(Date value) {
            addCriterion("return_time >", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("return_time >=", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeLessThan(Date value) {
            addCriterion("return_time <", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeLessThanOrEqualTo(Date value) {
            addCriterion("return_time <=", value, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeIn(List<Date> values) {
            addCriterion("return_time in", values, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeNotIn(List<Date> values) {
            addCriterion("return_time not in", values, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeBetween(Date value1, Date value2) {
            addCriterion("return_time between", value1, value2, "returnTime");
            return (Criteria) this;
        }

        public Criteria andReturnTimeNotBetween(Date value1, Date value2) {
            addCriterion("return_time not between", value1, value2, "returnTime");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysIsNull() {
            addCriterion("allowed_borrow_days is null");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysIsNotNull() {
            addCriterion("allowed_borrow_days is not null");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysEqualTo(Integer value) {
            addCriterion("allowed_borrow_days =", value, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysNotEqualTo(Integer value) {
            addCriterion("allowed_borrow_days <>", value, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysGreaterThan(Integer value) {
            addCriterion("allowed_borrow_days >", value, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("allowed_borrow_days >=", value, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysLessThan(Integer value) {
            addCriterion("allowed_borrow_days <", value, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysLessThanOrEqualTo(Integer value) {
            addCriterion("allowed_borrow_days <=", value, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysIn(List<Integer> values) {
            addCriterion("allowed_borrow_days in", values, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysNotIn(List<Integer> values) {
            addCriterion("allowed_borrow_days not in", values, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysBetween(Integer value1, Integer value2) {
            addCriterion("allowed_borrow_days between", value1, value2, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andAllowedBorrowDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("allowed_borrow_days not between", value1, value2, "allowedBorrowDays");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1IsNull() {
            addCriterion("borrow_image_url_1 is null");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1IsNotNull() {
            addCriterion("borrow_image_url_1 is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1EqualTo(String value) {
            addCriterion("borrow_image_url_1 =", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1NotEqualTo(String value) {
            addCriterion("borrow_image_url_1 <>", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1GreaterThan(String value) {
            addCriterion("borrow_image_url_1 >", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1GreaterThanOrEqualTo(String value) {
            addCriterion("borrow_image_url_1 >=", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1LessThan(String value) {
            addCriterion("borrow_image_url_1 <", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1LessThanOrEqualTo(String value) {
            addCriterion("borrow_image_url_1 <=", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1Like(String value) {
            addCriterion("borrow_image_url_1 like", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1NotLike(String value) {
            addCriterion("borrow_image_url_1 not like", value, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1In(List<String> values) {
            addCriterion("borrow_image_url_1 in", values, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1NotIn(List<String> values) {
            addCriterion("borrow_image_url_1 not in", values, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1Between(String value1, String value2) {
            addCriterion("borrow_image_url_1 between", value1, value2, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl1NotBetween(String value1, String value2) {
            addCriterion("borrow_image_url_1 not between", value1, value2, "borrowImageUrl1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1IsNull() {
            addCriterion("borrow_description_1 is null");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1IsNotNull() {
            addCriterion("borrow_description_1 is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1EqualTo(String value) {
            addCriterion("borrow_description_1 =", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1NotEqualTo(String value) {
            addCriterion("borrow_description_1 <>", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1GreaterThan(String value) {
            addCriterion("borrow_description_1 >", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1GreaterThanOrEqualTo(String value) {
            addCriterion("borrow_description_1 >=", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1LessThan(String value) {
            addCriterion("borrow_description_1 <", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1LessThanOrEqualTo(String value) {
            addCriterion("borrow_description_1 <=", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1Like(String value) {
            addCriterion("borrow_description_1 like", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1NotLike(String value) {
            addCriterion("borrow_description_1 not like", value, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1In(List<String> values) {
            addCriterion("borrow_description_1 in", values, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1NotIn(List<String> values) {
            addCriterion("borrow_description_1 not in", values, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1Between(String value1, String value2) {
            addCriterion("borrow_description_1 between", value1, value2, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription1NotBetween(String value1, String value2) {
            addCriterion("borrow_description_1 not between", value1, value2, "borrowDescription1");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2IsNull() {
            addCriterion("borrow_image_url_2 is null");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2IsNotNull() {
            addCriterion("borrow_image_url_2 is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2EqualTo(String value) {
            addCriterion("borrow_image_url_2 =", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2NotEqualTo(String value) {
            addCriterion("borrow_image_url_2 <>", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2GreaterThan(String value) {
            addCriterion("borrow_image_url_2 >", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2GreaterThanOrEqualTo(String value) {
            addCriterion("borrow_image_url_2 >=", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2LessThan(String value) {
            addCriterion("borrow_image_url_2 <", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2LessThanOrEqualTo(String value) {
            addCriterion("borrow_image_url_2 <=", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2Like(String value) {
            addCriterion("borrow_image_url_2 like", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2NotLike(String value) {
            addCriterion("borrow_image_url_2 not like", value, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2In(List<String> values) {
            addCriterion("borrow_image_url_2 in", values, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2NotIn(List<String> values) {
            addCriterion("borrow_image_url_2 not in", values, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2Between(String value1, String value2) {
            addCriterion("borrow_image_url_2 between", value1, value2, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowImageUrl2NotBetween(String value1, String value2) {
            addCriterion("borrow_image_url_2 not between", value1, value2, "borrowImageUrl2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2IsNull() {
            addCriterion("borrow_description_2 is null");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2IsNotNull() {
            addCriterion("borrow_description_2 is not null");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2EqualTo(String value) {
            addCriterion("borrow_description_2 =", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2NotEqualTo(String value) {
            addCriterion("borrow_description_2 <>", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2GreaterThan(String value) {
            addCriterion("borrow_description_2 >", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2GreaterThanOrEqualTo(String value) {
            addCriterion("borrow_description_2 >=", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2LessThan(String value) {
            addCriterion("borrow_description_2 <", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2LessThanOrEqualTo(String value) {
            addCriterion("borrow_description_2 <=", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2Like(String value) {
            addCriterion("borrow_description_2 like", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2NotLike(String value) {
            addCriterion("borrow_description_2 not like", value, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2In(List<String> values) {
            addCriterion("borrow_description_2 in", values, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2NotIn(List<String> values) {
            addCriterion("borrow_description_2 not in", values, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2Between(String value1, String value2) {
            addCriterion("borrow_description_2 between", value1, value2, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andBorrowDescription2NotBetween(String value1, String value2) {
            addCriterion("borrow_description_2 not between", value1, value2, "borrowDescription2");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeIsNull() {
            addCriterion("actual_return_time is null");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeIsNotNull() {
            addCriterion("actual_return_time is not null");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeEqualTo(Date value) {
            addCriterion("actual_return_time =", value, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeNotEqualTo(Date value) {
            addCriterion("actual_return_time <>", value, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeGreaterThan(Date value) {
            addCriterion("actual_return_time >", value, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("actual_return_time >=", value, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeLessThan(Date value) {
            addCriterion("actual_return_time <", value, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeLessThanOrEqualTo(Date value) {
            addCriterion("actual_return_time <=", value, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeIn(List<Date> values) {
            addCriterion("actual_return_time in", values, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeNotIn(List<Date> values) {
            addCriterion("actual_return_time not in", values, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeBetween(Date value1, Date value2) {
            addCriterion("actual_return_time between", value1, value2, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualReturnTimeNotBetween(Date value1, Date value2) {
            addCriterion("actual_return_time not between", value1, value2, "actualReturnTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysIsNull() {
            addCriterion("actual_borrow_days is null");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysIsNotNull() {
            addCriterion("actual_borrow_days is not null");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysEqualTo(Integer value) {
            addCriterion("actual_borrow_days =", value, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysNotEqualTo(Integer value) {
            addCriterion("actual_borrow_days <>", value, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysGreaterThan(Integer value) {
            addCriterion("actual_borrow_days >", value, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("actual_borrow_days >=", value, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysLessThan(Integer value) {
            addCriterion("actual_borrow_days <", value, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysLessThanOrEqualTo(Integer value) {
            addCriterion("actual_borrow_days <=", value, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysIn(List<Integer> values) {
            addCriterion("actual_borrow_days in", values, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysNotIn(List<Integer> values) {
            addCriterion("actual_borrow_days not in", values, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysBetween(Integer value1, Integer value2) {
            addCriterion("actual_borrow_days between", value1, value2, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andActualBorrowDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("actual_borrow_days not between", value1, value2, "actualBorrowDays");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1IsNull() {
            addCriterion("return_image_url_1 is null");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1IsNotNull() {
            addCriterion("return_image_url_1 is not null");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1EqualTo(String value) {
            addCriterion("return_image_url_1 =", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1NotEqualTo(String value) {
            addCriterion("return_image_url_1 <>", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1GreaterThan(String value) {
            addCriterion("return_image_url_1 >", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1GreaterThanOrEqualTo(String value) {
            addCriterion("return_image_url_1 >=", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1LessThan(String value) {
            addCriterion("return_image_url_1 <", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1LessThanOrEqualTo(String value) {
            addCriterion("return_image_url_1 <=", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1Like(String value) {
            addCriterion("return_image_url_1 like", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1NotLike(String value) {
            addCriterion("return_image_url_1 not like", value, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1In(List<String> values) {
            addCriterion("return_image_url_1 in", values, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1NotIn(List<String> values) {
            addCriterion("return_image_url_1 not in", values, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1Between(String value1, String value2) {
            addCriterion("return_image_url_1 between", value1, value2, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl1NotBetween(String value1, String value2) {
            addCriterion("return_image_url_1 not between", value1, value2, "returnImageUrl1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1IsNull() {
            addCriterion("return_description_1 is null");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1IsNotNull() {
            addCriterion("return_description_1 is not null");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1EqualTo(String value) {
            addCriterion("return_description_1 =", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1NotEqualTo(String value) {
            addCriterion("return_description_1 <>", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1GreaterThan(String value) {
            addCriterion("return_description_1 >", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1GreaterThanOrEqualTo(String value) {
            addCriterion("return_description_1 >=", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1LessThan(String value) {
            addCriterion("return_description_1 <", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1LessThanOrEqualTo(String value) {
            addCriterion("return_description_1 <=", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1Like(String value) {
            addCriterion("return_description_1 like", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1NotLike(String value) {
            addCriterion("return_description_1 not like", value, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1In(List<String> values) {
            addCriterion("return_description_1 in", values, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1NotIn(List<String> values) {
            addCriterion("return_description_1 not in", values, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1Between(String value1, String value2) {
            addCriterion("return_description_1 between", value1, value2, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnDescription1NotBetween(String value1, String value2) {
            addCriterion("return_description_1 not between", value1, value2, "returnDescription1");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2IsNull() {
            addCriterion("return_image_url_2 is null");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2IsNotNull() {
            addCriterion("return_image_url_2 is not null");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2EqualTo(String value) {
            addCriterion("return_image_url_2 =", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2NotEqualTo(String value) {
            addCriterion("return_image_url_2 <>", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2GreaterThan(String value) {
            addCriterion("return_image_url_2 >", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2GreaterThanOrEqualTo(String value) {
            addCriterion("return_image_url_2 >=", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2LessThan(String value) {
            addCriterion("return_image_url_2 <", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2LessThanOrEqualTo(String value) {
            addCriterion("return_image_url_2 <=", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2Like(String value) {
            addCriterion("return_image_url_2 like", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2NotLike(String value) {
            addCriterion("return_image_url_2 not like", value, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2In(List<String> values) {
            addCriterion("return_image_url_2 in", values, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2NotIn(List<String> values) {
            addCriterion("return_image_url_2 not in", values, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2Between(String value1, String value2) {
            addCriterion("return_image_url_2 between", value1, value2, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnImageUrl2NotBetween(String value1, String value2) {
            addCriterion("return_image_url_2 not between", value1, value2, "returnImageUrl2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2IsNull() {
            addCriterion("return_description_2 is null");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2IsNotNull() {
            addCriterion("return_description_2 is not null");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2EqualTo(String value) {
            addCriterion("return_description_2 =", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2NotEqualTo(String value) {
            addCriterion("return_description_2 <>", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2GreaterThan(String value) {
            addCriterion("return_description_2 >", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2GreaterThanOrEqualTo(String value) {
            addCriterion("return_description_2 >=", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2LessThan(String value) {
            addCriterion("return_description_2 <", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2LessThanOrEqualTo(String value) {
            addCriterion("return_description_2 <=", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2Like(String value) {
            addCriterion("return_description_2 like", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2NotLike(String value) {
            addCriterion("return_description_2 not like", value, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2In(List<String> values) {
            addCriterion("return_description_2 in", values, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2NotIn(List<String> values) {
            addCriterion("return_description_2 not in", values, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2Between(String value1, String value2) {
            addCriterion("return_description_2 between", value1, value2, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andReturnDescription2NotBetween(String value1, String value2) {
            addCriterion("return_description_2 not between", value1, value2, "returnDescription2");
            return (Criteria) this;
        }

        public Criteria andDamageFeeIsNull() {
            addCriterion("damage_fee is null");
            return (Criteria) this;
        }

        public Criteria andDamageFeeIsNotNull() {
            addCriterion("damage_fee is not null");
            return (Criteria) this;
        }

        public Criteria andDamageFeeEqualTo(BigDecimal value) {
            addCriterion("damage_fee =", value, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeNotEqualTo(BigDecimal value) {
            addCriterion("damage_fee <>", value, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeGreaterThan(BigDecimal value) {
            addCriterion("damage_fee >", value, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("damage_fee >=", value, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeLessThan(BigDecimal value) {
            addCriterion("damage_fee <", value, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("damage_fee <=", value, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeIn(List<BigDecimal> values) {
            addCriterion("damage_fee in", values, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeNotIn(List<BigDecimal> values) {
            addCriterion("damage_fee not in", values, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("damage_fee between", value1, value2, "damageFee");
            return (Criteria) this;
        }

        public Criteria andDamageFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("damage_fee not between", value1, value2, "damageFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeIsNull() {
            addCriterion("overdue_fee is null");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeIsNotNull() {
            addCriterion("overdue_fee is not null");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeEqualTo(BigDecimal value) {
            addCriterion("overdue_fee =", value, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeNotEqualTo(BigDecimal value) {
            addCriterion("overdue_fee <>", value, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeGreaterThan(BigDecimal value) {
            addCriterion("overdue_fee >", value, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("overdue_fee >=", value, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeLessThan(BigDecimal value) {
            addCriterion("overdue_fee <", value, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("overdue_fee <=", value, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeIn(List<BigDecimal> values) {
            addCriterion("overdue_fee in", values, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeNotIn(List<BigDecimal> values) {
            addCriterion("overdue_fee not in", values, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdue_fee between", value1, value2, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andOverdueFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("overdue_fee not between", value1, value2, "overdueFee");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeIsNull() {
            addCriterion("actual_borrow_time is null");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeIsNotNull() {
            addCriterion("actual_borrow_time is not null");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeEqualTo(Date value) {
            addCriterion("actual_borrow_time =", value, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeNotEqualTo(Date value) {
            addCriterion("actual_borrow_time <>", value, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeGreaterThan(Date value) {
            addCriterion("actual_borrow_time >", value, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("actual_borrow_time >=", value, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeLessThan(Date value) {
            addCriterion("actual_borrow_time <", value, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeLessThanOrEqualTo(Date value) {
            addCriterion("actual_borrow_time <=", value, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeIn(List<Date> values) {
            addCriterion("actual_borrow_time in", values, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeNotIn(List<Date> values) {
            addCriterion("actual_borrow_time not in", values, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeBetween(Date value1, Date value2) {
            addCriterion("actual_borrow_time between", value1, value2, "actualBorrowTime");
            return (Criteria) this;
        }

        public Criteria andActualBorrowTimeNotBetween(Date value1, Date value2) {
            addCriterion("actual_borrow_time not between", value1, value2, "actualBorrowTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}